<template>
  <a-layout-footer class="global-footer">
    <div class="footer-container">
      <div class="footer-content">
        <span class="copyright">
          我的gitee by
          <a
            href="https://gitee.com/hanhuaifei"
            target="_blank"
            rel="noopener noreferrer"
            class="gitee-link"
          >
            hhf
          </a>
        </span>
      </div>
    </div>
  </a-layout-footer>
</template>

<script setup lang="ts">
// 无需额外的逻辑
</script>

<style scoped>
.global-footer {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);

  padding: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #e8e8e8;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  text-align: center;
}

.copyright {
  color: #666;
  font-size: 14px;
}

.gitee-link {
  color: #1890ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.gitee-link:hover {
  color: #40a9ff;
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-container {
    padding: 0 16px;
  }

  .copyright {
    font-size: 12px;
  }
}
</style>
